home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / misc / splines.lha / Splines / Proto / dlist_protos.h < prev    next >
Encoding:
Text File  |  1994-09-16  |  765 b   |  34 lines

  1. /* Prototypes for functions defined in
  2. dlist.c
  3.  */
  4.  
  5. void Init_List(DLISTPTR list);
  6.  
  7. void Insert_Before(DLISTPTR position,
  8.                    DLISTPTR element,
  9.                    DLISTPTR list);
  10.  
  11. void Insert_After(DLISTPTR position,
  12.                   DLISTPTR element,
  13.                   DLISTPTR list);
  14.  
  15. DLISTPTR Remove_Element(DLISTPTR element,
  16.                         DLISTPTR list);
  17.  
  18. BOOL Member(DLISTPTR element,
  19.             DLISTPTR list);
  20.  
  21. DLISTPTR GET_MEMBER(void * element,
  22.                     DLISTPTR list);
  23.  
  24. DLISTPTR Find_Element(void * element,
  25.                       DLISTPTR list,
  26.                       int (* test)(void * , void * ));
  27.  
  28. void Apply(int (* fn)(void * ),
  29.            DLISTPTR list);
  30.  
  31. void ClearList(DLISTPTR list,
  32.                int foo);
  33.  
  34.